﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SampleLocalPickup.Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:MultiView ID="MultiViewPage" ActiveViewIndex="0" runat="server">
            <asp:View ID="ViewForm" runat="server">
                <p>
                    Number of messages:<br />
                    <asp:TextBox ID="NumberTextBox" runat="server" TextMode="Number" Text="100" />
                </p>
                <p>
                    <asp:Button ID="SendButton" Text="Send" runat="server" OnClick="SendButton_Click" />
                </p>
            </asp:View>
            <asp:View ID="ViewResults" runat="server">
                <p>
                    <asp:Literal ID="LiteralStats" Text="Messages sent in {0} ms ({1:N0} ms per message)" runat="server" />
                </p>
                <p>[ <a href="/">back</a> ]</p>
            </asp:View>
        </asp:MultiView>
    </form>
</body>
</html>
